package com.sxbbc.common.core.entity.jz;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 用户身份认证信息
 * </p>
 *
 * @author xiaoky
 * @since 2019-06-19
 */
public class CCustomerAuthen implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer cid;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 0 保密  1 男  2 女
     */
    private Integer sex;

    /**
     * 联系电话
     */
    private String linkPhone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 银行卡开户行
     */
    private Integer bankType;

    /**
     * 银行卡号
     */
    private String bankCard;

    /**
     * 身份证号码
     */
    private String idcard;

    /**
     * 身份证有效期
     */
    private String expiryDate;

    /**
     * 地址省份
     */
    private Integer proId;

    /**
     * 地址城市
     */
    private Integer cityId;

    /**
     * 地址区域
     */
    private Integer areaId;

    /**
     * 详细地址
     */
    private String addressDetail;

    /**
     * 身份证正面 url地址
     */
    private String front;

    /**
     * 身份证反面地址
     */
    private String back;

    /**
     * 手持身份证照片
     */
    private String handIdcard;

    /**
     * 1认证待审核  2认证通过  3认证失败
     */
    private Integer status;

    /**
     * 申请时间
     */
    private Date createTime;

    /**
     * 审核时间
     */
    private Date checkTime;
    
    /**
     * 驳回理由
     */
    private String rejectRemark;

    /**
     * 认证类型 1身份证验证 2港澳证件
     */
    private Integer authType;

    /**
     * 是否长期有限 1有效 0无效
     */
    private Integer isLongLasting;
    
    @TableField(exist = false)
    private String CNickName;
    @TableField(exist = false)
    private String CPhone;
    @TableField(exist = false)
    private String nameExt;
    /** 推荐人名字 优先真实姓名其次账号 */
    @TableField(exist = false)
    private String parentName;

    public Integer getBankType() {
        return bankType;
    }

    public void setBankType(Integer bankType) {
        this.bankType = bankType;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public Integer getIsLongLasting() {
        return isLongLasting;
    }

    public void setIsLongLasting(Integer isLongLasting) {
        this.isLongLasting = isLongLasting;
    }

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }
    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }
    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }
    public String getFront() {
        return front;
    }

    public void setFront(String front) {
        this.front = front;
    }
    public String getBack() {
        return back;
    }

    public void setBack(String back) {
        this.back = back;
    }
    public String getHandIdcard() {
        return handIdcard;
    }

    public void setHandIdcard(String handIdcard) {
        this.handIdcard = handIdcard;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCNickName() {
		return CNickName;
	}

	public void setCNickName(String cNickName) {
		CNickName = cNickName;
	}

	public String getCPhone() {
		return CPhone;
	}

	public void setCPhone(String cPhone) {
		CPhone = cPhone;
	}

	public String getRejectRemark() {
		return rejectRemark;
	}

	public void setRejectRemark(String rejectRemark) {
		this.rejectRemark = rejectRemark;
	}

	public String getNameExt() {
		return nameExt;
	}

	public void setNameExt(String nameExt) {
		this.nameExt = nameExt;
	}

	@Override
    public String toString() {
        return "CCustomerAuthen{" +
        "id=" + id +
        ", cid=" + cid +
        ", realName=" + realName +
        ", sex=" + sex +
        ", linkPhone=" + linkPhone +
        ", email=" + email +
        ", idcard=" + idcard +
        ", expiryDate=" + expiryDate +
        ", proId=" + proId +
        ", cityId=" + cityId +
        ", areaId=" + areaId +
        ", addressDetail=" + addressDetail +
        ", front=" + front +
        ", back=" + back +
        ", handIdcard=" + handIdcard +
        ", status=" + status +
        ", createTime=" + createTime +
        ", checkTime=" + checkTime +
        "}";
    }
}
